package com.lh.web.service.serviceAdmin.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.OrderAfterSale;
import com.lh.common.entity.admin.OrderAfterSaleAdmin;
import com.lh.common.entity.admin.OrderAfterSaleDetails;
import com.lh.common.utils.PageUtils;

import java.util.Map;

/**
 * @author FH
 * @ClassName: AfterSalesOrderService
 * @Description: (类作用)
 * @date: 2020-05-19 10:11
 */
public interface AfterSalesOrderService extends IService<OrderAfterSale> {

    PageUtils queryAfterSaleOrderList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    OrderAfterSaleAdmin queryAfterSaleOrder(String afterSaleId);

    int updateAfterSaleOrder(String afterSaleId,Long userId,String oldStatus,String newStatus,String remark);

    int updateOperAfterSaleOrder(String afterSaleId, Long userId, Long addrId, Long refuseId, String oldStatus, String newStatus, String remark);

    OrderAfterSaleDetails queryAfterSalesDetails(String afterSaleId);
}
